package com.sdweizan.sdk.bytedance.bean.distribution;

import com.alibaba.fastjson.annotation.JSONField;
import com.sdweizan.sdk.bytedance.bean.BdBaseResponse;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class BdQueryReturnResponse extends BdBaseResponse {
  @JSONField(name = "return_info")
  private ReturnInfo returnInfo;

  @NoArgsConstructor
  @Data
  public static class ReturnInfo {
    @JSONField(name = "app_id")
    private String appId;

    @JSONField(name = "thirdparty_id")
    private String thirdpartyId;

    @JSONField(name = "settle_no")
    private String settleNo;

    @JSONField(name = "out_settle_no")
    private String outSettleNo;

    @JSONField(name = "out_return_no")
    private String outReturnNo;

    @JSONField(name = "merchant_uid")
    private String merchantUid;

    @JSONField(name = "return_amount")
    private Integer returnAmount;

    @JSONField(name = "return_status")
    private String returnStatus;

    @JSONField(name = "return_no")
    private String returnNo;

    @JSONField(name = "fail_reason")
    private String failReason;

    @JSONField(name = "finish_time")
    private Integer finishTime;

    @JSONField(name = "cp_extra")
    private String cpExtra;
  }
}
